libxl: move domain struct init functions from xl to libxl
authorGianni Tedesco <gianni.tedesco@citrix.com>
Tue, 11 Jan 2011 18:32:32 +0000 (18:32 +0000)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Tue, 11 Jan 2011 18:32:32 +0000 (18:32 +0000)
commit9bdd55b7874963760065876f4e770b102d991131
treebba1e32267a5e0c343419ee937bd48c930a46994
parent760b359388cf4bc948ff6cbf96ab5f629ac45fe5
libxl: move domain struct init functions from xl to libxl

This allows libxl users to get some sane default values for this complex
set of structures. This is purely code movement and there are no
functional changes except for a trivial error handling change in nic
device init.

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_create.c
tools/libxl/xl_cmdimpl.c